package com.naiterui.ehp.bs.cms.modules.base.vo;

import java.io.Serializable;
import java.util.Date;

import com.naiterui.ehp.bs.cms.common.json.Dict;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 潘xin
 * @since 2021/9/13
 */
@Data
public class CityPageVO implements Serializable {
    private static final long serialVersionUID = -7192758795878010844L;
    @ApiModelProperty(value = "主键ID")
    private Integer id;
    @ApiModelProperty(value = "省 市 区  名称")
    private String name;
    @Dict(type = "city_type")
    @ApiModelProperty(value = "类型:0:全国 1:省 2;市 3:区")
    private Integer type;
    @ApiModelProperty(value = "父类ID")
    private Integer parentId;
    @Dict(type = "available")
    @ApiModelProperty(value = "是否有效0无效，1有效")
    private Boolean available;
    @ApiModelProperty(value = "创建人")
    private String createdBy;
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;
    @ApiModelProperty(value = "修改人")
    private String changedBy;
    @ApiModelProperty(value = "修改时间")
    private Date changedAt;
    @ApiModelProperty(value = "省市区全名")
    private String fullName;
    @ApiModelProperty(value = "父类名称")
    private String parentName;
    @ApiModelProperty(value = "直辖市  0：不是；1：是")
    // @Dict(type = "isMunicipality")
    private Integer municipality;
    // 热门城市 fanjd 2016/09/23 代发货项目
    @ApiModelProperty(value = "是否热门城市 0：否 1：是 用于代发货项目")
    private Integer hot;
    @ApiModelProperty(value = "权重 0：默认权重")
    private Integer weight;
}
